package com.liuzhilong.infrastructure.basic.factory.statics.factory.simple;

import com.liuzhilong.infrastructure.basic.factory.statics.factory.Product;

public class SimpleFactory {
    public static final Product getProduct1(){
        Product product = new SimpleProduct1();
        //do something
        return product;
    }
    public static final Product getProduct2(){
        Product product = new SimpleProduct2();
        //do something
        return product;
    }
}
